package com.proj.model;

import org.apache.solr.client.solrj.beans.Field;

import lombok.Data;

@Data
public class SearchGoods {
  @Field("product_id")
  private String id;

  @Field("user_id")
  private String userId;

  @Field("product_name")
  private String name;

  private String styleName;

  @Field("product_image_url")
  private String imageURL;

  @Field("product_price")
  private float price;

  @Field("product_grade")
  private String appearance;

  @Field("product_ISBN")
  private String ISBN;

  @Field("type_id")
  private int categoryId;

  @Field("product_writer")
  private String author;

  @Field("product_translator")
  private String translator;

  @Field("product_version")
  private String version;

  @Field("product_stock")
  private int store;

  @Field("product_freight")
  private float freight;

  @Field("product_press")
  private String pressHorse;

  @Field("product_publication_date")
  private String publicationDate;

  @Field("product_createtime")
  private String createtime;

  @Field("product_updatetime")
  private String updateDate;

  @Field("product_visit")
  private int viewCount;

  @Field("product_describe")
  private String describe;

  @Field("product_status")
  private int status;
}
